<div style="width: 500px;">
<form id="ajax_form" onsubmit="return CandidateExperience.processExperience();">
	<table class="table">
		<tbody>
			<tr>
				<td width="120" class="right rlabel"><label for="idhierarchy"><?php echo $this->lang->line('experience_hierarchy'); ?>:</label></td>
				<td colspan="3"><div id="jobHierarchy"></div></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="idcategory"><?php echo $this->lang->line('experience_category'); ?>:</label></td>
				<td colspan="3"><div id="jobCategory"></div></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="idspecialty"><?php echo $this->lang->line('experience_specialty'); ?>:</label></td>
				<td colspan="3"><div id="jobSpecialty"></div></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="title"><?php echo $this->lang->line('experience_title'); ?>:</label></td>
				<td colspan="3">
					<input type="text" class="inputdiv" value="<?php echo $title; ?>" id="title" name="title" />
				</td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="description"><?php echo $this->lang->line('experience_description'); ?>:</label></td>
				<td colspan="3">
					<textarea class="inputdiv" rows="3" value="" id="description" name="description"><?php echo $description; ?></textarea>
				</td>
			</tr>
			<tr>
				<td class="right rlabel"><input type="checkbox" value="Y" name="idnow" id="idnow" class="checkbox"></td>
				<td colspan="3">
					<label for="idnow"><?php echo $this->lang->line('experience_currentjob'); ?></label>
				</td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="startdate"><?php echo $this->lang->line('experience_startdate'); ?>:</label></td>
				<td width="130">
				<input type="text" class="inputdiv maskdate" value="<?php echo $startdate; ?>" id="startdate" name="startdate" /></td>
				<td class="right rlabel" width="35"><label for="finishdate"><?php echo $this->lang->line('experience_finishdate'); ?>:</label></td>
				<td>
				<input type="text" class="inputdiv maskdate" value="<?php echo $finishdate; ?>" id="finishdate" name="finishdate" /></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="company"><?php echo $this->lang->line('experience_company'); ?>:</label></td>
				<td colspan="3">
					<input type="text" class="inputdiv" value="<?php echo $company; ?>" id="company" name="company" />
				</td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="idcountry"><?php echo $this->lang->line('experience_country'); ?>:</label></td>
				<td colspan="3"><div id="ajaxCountry"></div></td>
			</tr>
			<tr>
				<td class="right rlabel"><label for="idstate"><?php echo $this->lang->line('experience_state'); ?>:</label></td>
				<td colspan="3"><div id="ajaxState"></div></td>
			</tr>
			<tr>
				<td colspan="4" class="center">
					<label for="btnEnter"><input type="submit" id="btnEnter" class="submit" value="<?php echo $this->lang->line('experience_save'); ?>" /></label>
				</td>
			</tr>
		</tbody>
	</table>
	<div id="result_ajax"></div>
	<input type="hidden" value="<?php echo $id_experience; ?>" name="idexperience" id="idexperience" />
</form>
</div>
<script type="text/javascript">
CandidateExperience.getJobHierarchy();
CandidateExperience.getJobCategory();
<?php 
	if (isset($set_category_value)) echo $set_category_value;
?>
CandidateExperience.getJobSpecialty();
getCountry('#ajaxCountry');
getState('#ajaxState');
$(".maskdate").mask("99/99/9999");
<?php 
	if (isset($extrascript)) echo $extrascript;
?>
</script>